Average sentence length |
---|
20.3994 |
sentence length | percentage |
---|---|
3 | 0.1000 |
4 | 0.2900 |
5 | 0.5600 |
6 | 1.0000 |
7 | 2.1000 |
8 | 2.2400 |
9 | 3.3800 |
10 | 3.8700 |
11 | 4.0100 |
12 | 4.1200 |
13 | 4.8000 |
14 | 5.0900 |
15 | 4.5000 |
16 | 4.2800 |
17 | 4.0300 |
18 | 3.9600 |
19 | 4.3800 |
20 | 3.9700 |
21 | 4.3500 |
22 | 3.5000 |
23 | 3.2200 |
24 | 4.3200 |
25 | 2.9700 |
26 | 2.5600 |
27 | 2.1400 |
28 | 1.8400 |
29 | 1.5500 |
30 | 1.6500 |
31 | 1.5800 |
32 | 1.3700 |
33 | 1.3400 |
34 | 1.1100 |
35 | 1.2800 |
36 | 1.0500 |
37 | 0.8900 |
38 | 0.7500 |
39 | 0.6700 |
40 | 0.7400 |
41 | 0.6700 |
42 | 0.7500 |
43 | 0.6200 |
44 | 0.4400 |
45 | 0.4900 |
46 | 0.3400 |
47 | 0.4000 |
48 | 0.2800 |
49 | 0.2700 |
50 | 0.1800 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters